var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "code": 0,
    "msg": "OK",
    "data|150": [
      {
        "Id|+1":1,
        "date":"@date('yyyy-MM-dd')",
        "stockCode|1-100":1,
        "positionsNum|1-1000":1,
        "marketPosition|1-100":1,
        "futuresValue|1-1000":1
      }
    ],
    "page":{
      "pagesize":15,
      "currentpage":1,
      "totalpage":10,
      "totalnum":100
    }
  })
}
